package com.mls.fivedistrict.dao;

import com.baomidou.mybatisplus.mapper.Wrapper;
import com.mls.fivedistrict.pojo.Advertising;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 广告 Mapper 接口
 * </p>
 *
 * @author Five Team
 * @since 2018-06-08
 */
public interface AdvertisingMapper extends BaseMapper<Advertising> {

    Advertising selectByPrimaryKeyAndItem(@Param("id") Long id);

    List<Advertising> selectListAndItem(@Param("ew") Wrapper wrapper);
}
